package com.lovo.csc.controller;


import com.lovo.csc.entity.Vendorauditinfo;
import com.lovo.csc.service.IVendorauditinfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@RestController
@RequestMapping("/vendorauditinfo")
@Api(tags = "供货商审核记录控制层--曾亚军-1.0")
public class VendorauditinfoController {
    @Autowired
    IVendorauditinfoService vendorauditinfoService;
    @ApiOperation("查询所有供货商审核记录")
    @GetMapping("findAll")
    public List<Vendorauditinfo> findAll(){
        return vendorauditinfoService.list();
    }

}
